package com.adnaan.restaurant.service.impl;

import com.adnaan.restaurant.entity.Student;
import com.adnaan.restaurant.mapper.StudentMapper;
import com.adnaan.restaurant.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * author: adnaan
 * create: 2023-11-01 16:50
 * Description:
 */
@Service
public class StudentServiceImpl implements IStudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public Student selectStudentById(Long id) {
        return studentMapper.selectStudentById(id);
    }
}
